# Author: HZT
# Date: 2023/9/1
import time
import page
from base.base import Base
from selenium.webdriver.support.select import Select


class WebSkZl(Base):
    # 获取公司名字
    def sk_zl_get_gsmz(self):
        return self.base_get_text(page.web_sk_zl_gsmz)

    # 获取余额
    def sk_zl_get_ye(self):
        return self.base_get_text(page.web_sk_zl_ye)

    # 获取本日收卡总额
    def sk_zl_get_d1(self):
        return self.base_get_text(page.web_sk_zl_d1)

    # 获取本月收卡总额
    def sk_zl_get_d2(self):
        return self.base_get_text(page.web_sk_zl_d2)

    # 获取本日收卡总数
    def sk_zl_get_d3(self):
        return self.base_get_text(page.web_sk_zl_d3)

    # 获取本月收卡总数
    def sk_zl_get_d4(self):
        return self.base_get_text(page.web_sk_zl_d4)

    # 点击总览
    def sk_zl_click_zl(self):
        self.base_find_first(page.web_sk_zl_zl).click()
